package com.example.mylearn.proxy.dynamicProxy.jdk;

import com.example.mylearn.proxy.staticProxy.SmsService;
import com.example.mylearn.proxy.staticProxy.SmsServiceImpl;

public class DynamicProxyExample {


    public static void main(String[] args) {
        SmsService proxy = (SmsService)JdkProxyFactory.getProxy(new SmsServiceImpl());
        proxy.send();
    }





}
